/*
 * Copyright (C), 2013-2017, 工人网
 * FileName: BaseFilter.java
 * Author:   yjg
 * Date:     2017年8月2日 上午10:05:43
 * Description: //模块目的、功能描述      
 * History: //修改记录
 * <author>      <time>      <version>    <desc>
 * 修改人姓名             修改时间            版本号                  描述
 */
package com.gongren.oddjob.filter;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import com.gongren.oddjob.logger.BaseLogger;

/**
 * 功能描述: 
 * 
 * Author:   yjg@gongren.com
 * Date:     2017年8月2日 上午10:05:43
 */
public class BaseFilter extends BaseLogger implements Filter{

	@Override
	public void init(FilterConfig filterConfig) throws ServletException {
		logger.info("filter--------->init");
	}

	@Override
	public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
			throws IOException, ServletException {
		logger.info("filter----1----->doFilter");
	}

	@Override
	public void destroy() {
		logger.info("filter--------->destroy");
	}

}
